.px2rem(@name, @px){
    @{name}: @px / 75 * 1rem;
}
body{
    .header{
        .px2rem(height, 90);
        width:100%;
        background: #000;
        color: #c6c6c7;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        left:0;
        top:0;
        z-index: 99;
        .left,.right{
            .px2rem(width, 150);
            .px2rem(line-height, 90);
            .px2rem(font-size, 28);
            text-align: center;
        }
        .center{
            .px2rem(width, 220);
            .px2rem(line-height, 90);
            .px2rem(font-size, 34);
            text-align: center;
        }
    }
    .search{
        width:100%;
        background: #fafafa;
        .px2rem(margin-top, 90);
        .px2rem(padding-top, 20);
        .px2rem(padding-bottom, 20);
        display: flex;
        border-bottom: 1px solid #ccc;
        .i{
            .px2rem(font-size, 32);
            .px2rem(line-height, 70);
            margin-left: 5%;
        }
        .box{
            clear: both;
            width:80%;
            margin-left:5%;
            .px2rem(height, 70);
            border:1px solid #ccc;
            border-radius: 4px;
        }
        .input{
            width:65%;
            .px2rem(height, 70);
            float: left;
            input{
                width: 100%;
                .px2rem(height, 64);
                border:none;
                .px2rem(padding-left, 20);
                .px2rem(font-size, 30);
                outline: none;
            }
        }
        .button{
            width:18%;
            float: right;
            div{
                .px2rem(height, 70);
                background: #ccc;
            }
            .i{
                .px2rem(font-size, 60);
                text-align: center;
            }
        }
    }
    .main{
        background: #ffffff;
        h2{
            margin-left: 5%;
            color: #999;
            .px2rem(line-height, 80);
            .px2rem(font-size, 30);
        }
        ul{
            margin-left:5%;
            li{
               float: left; 
               background: #eeeeee;
               .px2rem(font-size, 24);
               .px2rem(padding-left, 20);
               .px2rem(padding-right, 20);
               .px2rem(padding-top, 10);
               .px2rem(padding-bottom, 10);
               .px2rem(margin-right, 30);
               .px2rem(margin-bottom, 30);
               border-radius: 10px;
            }
        }
    }
}